package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.time.LocalDate;
import java.io.Serializable;

/**
 * 风俗模板表
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygCustomTemplate implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "风俗模板ID", position = 1)
    private Integer id;

    @ApiModelProperty(value = "风俗模板名称", position = 2)
    private String name;

    @ApiModelProperty(value = "模板创建时间", dataType = "java.lang.String", example = "2020-02-02", position = 3)
    private LocalDate createTime;

    /**
     * 是否逻辑删除
     */
    @JsonIgnore
    @TableLogic
    @ApiModelProperty(hidden = true)
    private Boolean isDel;

}
